package com.capgemini.remind.mapper;

import com.capgemini.core.PageList;
import com.capgemini.remind.pojo.CouponBatchLineInfo;
import com.capgemini.remind.pojo.CouponInfo;
import com.capgemini.remind.pojo.Remind;
import com.capgemini.remind.pojo.RemindSendInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface RemindSendInfoMapper {


	int batchInsert(List<RemindSendInfo> list);

	List<RemindSendInfo> queryPage(final PageList<RemindSendInfo> pageList);

    void refreshLastRemindInfo(String dealerNum);



	CouponBatchLineInfo getCouponBatchLineInfoById(Long couponBatchLineId);

	int createCoupon(CouponInfo couponInfo);

	int updateCouponBatchLine(CouponInfo couponInfo);

	int updateCouponBatchIsGenerated(Long batchId);

	int updateSmsBatchIdByIds(@Param("smsBatchId") String smsBatchId, @Param("list") List<String> idList);
}